package com.example.userservice;

import cn.hutool.captcha.LineCaptcha;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class config {
    @Bean
    public LineCaptcha lineCaptcha() {
        // 在这里创建并返回LineCaptcha实例
        return new LineCaptcha(200, 100); // 示例参数，根据实际需求进行调整
    }
}
